<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>Insert title here</title>
		<style type="text/css">
			.anniudenglu2{height:80px;width: 170px;font-size:30px;margin-top:40px;margin-left:60px;border-radius:50px ;}
			
			.anniudenglu{height:80px;width: 150px;font-size:30px;margin-top:40px;margin-left:40px;border-radius:50px ;}
			.denglu{width: 600px;height: 500px;position: absolute;left: 1000px;top :300px;}
			.tupian{position: absolute;left: -100px;top :200px;}
		</style>
	</head>
	<body>
	<%
		String tc = request.getParameter("tc");
		if (tc != null){
			session.removeAttribute("condition");
			session.removeAttribute("u_id");
			session.removeAttribute("username");
		}
	%>
		<form action="sdf.jsp" method="get">
	<div class="ass">
			<div class="biaotou">
					
			</div>
			<div class="tupian">
				<img src="img/R-C.png"/>	
			</div>
			<div class="denglu" style="font-size:30px;">
				<div>
					角色：<input type="radio" name="condition" value="user" checked id="user"><label for="user">用户</label>
					<input type="radio" name="condition" value="admin" id="admin"><label for="admin">管理员</label>
				</div>
				<input type="text" name="user" style="height: 100px;width:500px;border-left:solid  0;border-right:solid  0;border-top:solid  0;font-size:30px;" required placeholder="用户名"/><br />
				<input type="text" name="pw" style="height: 100px;width:500px;border-left:solid  0;border-right:solid  0;border-top:solid  0;font-size: 30px;" required placeholder="密码"/><br />

				<input type="submit" value="登录" class="anniudenglu" style="margin: 20px 40%;transform: translateX(-50%);"/>
			</div>
		</div>
	 </form>
	</body>
</html>
